package com.boomsecret.pattern.strategy;

/**
 * Created by wangjinliang on 2018/1/24.
 */
public abstract class Character {
    protected WeaponBehavior weaponBehavior;

    public void setWeaponBehavior(WeaponBehavior weaponBehavior) {
        this.weaponBehavior = weaponBehavior;
    }

    abstract void getCharacterName();
    abstract void fight();
}
